package cn.doitedu.eagle.beans;


/**
 * @author 涛哥
 * @nick_name "deep as the sea"
 * @contact qq:657270652 wx:doit_edu
 * @site www.doitedu.cn
 * @date 2021-03-25
 * @desc buffer缓存查询结果封装实体
 */
public class BufferResult {

    // buffer数据值
    private int bufferValue;
    // 无效，far部分有效，far+near部分有效
    private BufferAvailLevel availLevel;

    // buffer查询后更新的后续查询起始时间
    private Long shiftStartTime;
    // buffer查询后更新的后续查询结束时间
    private Long shiftEndTime;

    // buffer数据涵盖时段起始
    private Long bufferStartTime;
    // buffer数据涵盖时段结束
    private Long bufferEndTime;


    public int getBufferValue() {
        return bufferValue;
    }

    public void setBufferValue(int bufferValue) {
        this.bufferValue = bufferValue;
    }

    public BufferAvailLevel getAvailLevel() {
        return availLevel;
    }

    public void setAvailLevel(BufferAvailLevel availLevel) {
        this.availLevel = availLevel;
    }

    public long getShiftStartTime() {
        return shiftStartTime;
    }

    public void setShiftStartTime(long shiftStartTime) {
        this.shiftStartTime = shiftStartTime;
    }

    public long getShiftEndTime() {
        return shiftEndTime;
    }

    public void setShiftEndTime(long shiftEndTime) {
        this.shiftEndTime = shiftEndTime;
    }

    public Long getBufferStartTime() {
        return bufferStartTime;
    }

    public void setBufferStartTime(long bufferStartTime) {
        this.bufferStartTime = bufferStartTime;
    }

    public Long getBufferEndTime() {
        return bufferEndTime;
    }

    public void setBufferEndTime(long bufferEndTime) {
        this.bufferEndTime = bufferEndTime;
    }
}
